package com.zgw.his.emr.workbench;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableItem;
import org.eclipse.ui.part.ViewPart;

// 病人页
public class ParentView extends ViewPart {
	private Table table;

	@Override
	public void createPartControl(Composite parent) {
		table = new Table(parent, SWT.H_SCROLL | SWT.V_SCROLL);
		table.setLinesVisible(true);
		table.setHeaderVisible(true);
		{
			TableItem item = new TableItem(table, SWT.NONE);
			item.setText("姓名");
		}
		{
			TableItem item = new TableItem(table, SWT.NONE);
			item.setText("住院号");
		}
	}

	@Override
	public void setFocus() {

	}

}
